package com.augurit.gzcgwsp.csshlj.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * 生活垃圾项目
 * @author Administrator
 *
 */
@Entity
@Table(name = "SHLJ_PROJECT")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class ShljProject {
	// 属性
	@Id
    @Column(name = "ID")
    @SequenceGenerator(name="SEQ_SHLJ_PROJECT", sequenceName="SEQ_SHLJ_PROJECT", allocationSize=1)
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_SHLJ_PROJECT")
	private Long id;
	private String templateCode;//陆域还是水域
	private Long qyid;
	private Long baid;//备案id;
	private String xmcontent;//项目内容
	private String colnums;
	private String rownums;
	private String startday;
	private String endday;
	private String gzsjday;
	private Long fid;//第一次申请的主键
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getTemplateCode() {
		return templateCode;
	}
	public void setTemplateCode(String templateCode) {
		this.templateCode = templateCode;
	}
	public Long getQyid() {
		return qyid;
	}
	public void setQyid(Long qyid) {
		this.qyid = qyid;
	}
	public Long getBaid() {
		return baid;
	}
	public void setBaid(Long baid) {
		this.baid = baid;
	}
	public String getXmcontent() {
		return xmcontent;
	}
	public void setXmcontent(String xmcontent) {
		this.xmcontent = xmcontent;
	}
	public String getStartday() {
		return startday;
	}
	public void setStartday(String startday) {
		this.startday = startday;
	}
	public String getEndday() {
		return endday;
	}
	public void setEndday(String endday) {
		this.endday = endday;
	}
	public String getGzsjday() {
		return gzsjday;
	}
	public void setGzsjday(String gzsjday) {
		this.gzsjday = gzsjday;
	}
	public Long getFid() {
		return fid;
	}
	public void setFid(Long fid) {
		this.fid = fid;
	}
	public String getColnums() {
		return colnums;
	}
	public void setColnums(String colnums) {
		this.colnums = colnums;
	}
	public String getRownums() {
		return rownums;
	}
	public void setRownums(String rownums) {
		this.rownums = rownums;
	}

	
}
